Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] CLOUDP-278384: Support Independent ID config generation #3330

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

josvazg
Copy link
Collaborator

@josvazg josvazg commented Oct 16, 2024

Proposed changes

Support a new flag for Kubernetes config generation so that resources that support independent usage are exporting with external ID references, instead of Kubernetes name references. In version 2.5 that means Atlas Database Users and Deployments will be exported with external project IDs when using the --independentResource flag like this:

$ atlas kubernetes config generate --projectId=<projectId> --independentResources

Users should extract the parts of the generated YAAMl definition that make sense for their use case.

Jira ticket: CLOUDP-278384

Closes #[issue number]

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
  • I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
  • I have updated test/README.md (if an e2e test has been added)
  • I have run make fmt and formatted my code

Further comments

@josvazg josvazg requested review from a team as code owners October 16, 2024 16:49
@josvazg josvazg marked this pull request as draft October 16, 2024 16:49
Base automatically changed from CLOUDP-278912/fix-no-fed-auth-export to master October 17, 2024 07:25
Comment on lines +179 to +180

replace github.com/mongodb/mongodb-atlas-kubernetes/v2 v2.4.1 => ../mongodb-atlas-kubernetes
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is required for local development, but will not work on the CI, obviously.

This PR needs to wait for the 2.5 release to happen, or at least for the v2.5.0 to exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant